/*顶级菜单：个人中心*/

import { context2array } from '@/router/util'

const files = require.context('./child', false, /\.js$/)

export default {
  path: '/personalCenter',
  component: 'Layout',
  meta: {
    title: '个人中心',
    icon: 'svg-personal-center',
    sort: 2,
    roles: ['editor', 'admin']
  },
  children: context2array(files)
}
